package com.spring.bean.aware;

import org.springframework.lang.Nullable;

/**
 * @ClassName: MyBeanTest
 * @Author: suncx
 * @CreateDate: 2020-03-17 11:53
 * @Description:
 */

public class MyBeanTest {
    private void initMethod() {
        System.out.println("this is MyBeanTest init-method");
    }
    private String testStr = "testStr";
    public String getTestStr() {
        return testStr;
    }


    public String testSpringAu(@Nullable String a) {
        return testStr;
    }
    public void setTestStr(String testStr) {
        this.testStr = testStr;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MyBeanTest{");
        sb.append("testStr='").append(testStr).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
